<template>
	<div class="haha">
				{{zyn}}
				<div class="hehe" v-on:click="jia">
						{{zyn}}
				</div>
		
	</div>
</template>

<script>
	export default{
		data(){
			return{
				zyn:1
			}
		},
		methods:{
			jia(){
				this.$emit('hehe');
			},
			hehe(){
				this.zyn++;
			}
		}
	}
</script>

<style>
	.haha{
		width: 2.173913rem;
		height: 2.173913rem;
		position: absolute;
		z-index: 111111111111111111111111;
		top: 2.173913rem;
		left: 2.173913rem;
	}
	.hehe{
		width: 2.173913rem;
		height: 2.173913rem;
		background-color: red;
	}
</style>